package com.tcm.logistics.dao.mapper;

import com.tcm.logistics.entity.Logistics;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogisticsMapper {
    int deleteByKey(Long id);

    int deleteLogicByKey(Long id);

    int insert(Logistics record);

    int insertBatch(List<Logistics> logisticsList);

    Logistics findByKey(Long id);

    List<Logistics> listPageLogistics(@Param("start") Long start, @Param("pagesize") Long pagesize);

    int updateByKey(Logistics record);


}